package com.sanyou.pojo.vo;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDate;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CopperParticleHistoryVo implements Serializable {

    @ApiModelProperty(value = "日期")
    private LocalDate date;

    @ApiModelProperty(value = "不合格铜板数")
    private Long unqualifiedCopperNum;

    @ApiModelProperty(value = "合格铜板数")
    private Long qualifiedCopperNum;

    @ApiModelProperty(value = "周期数据使用 - 起始日期")
    private LocalDate start;

    @ApiModelProperty(value = "周期数据使用 - 结束日期")
    private LocalDate end;

    public CopperParticleHistoryVo(LocalDate date, Long unqualifiedCopperNum, Long qualifiedCopperNum) {
        this.date = date;
        this.unqualifiedCopperNum = unqualifiedCopperNum;
        this.qualifiedCopperNum = qualifiedCopperNum;
    }
}
